home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2507 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: news.gate.net!pslfl2-35
  2. From: bhutto@gate.net (William Hutto)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Problem with ascii to number conversion.
  5. Date: 21 Jan 1996 12:53:39 GMT
  6. Organization: CyberGate, Inc.
  7. Message-ID: <4dtd0j$21r4@news.gate.net>
  8. References: <96012012081730705@busilink.com>
  9. NNTP-Posting-Host: pslfl2-35.gate.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <96012012081730705@busilink.com>,
  13.    paul.kelley@busilink.com (Paul Kelley) spake:
  14. ;Hi,
  15. ; i am a beginner c programmer, stuck on what i thought was a simple
  16. ;problem. I have an ascii input file that contains payroll info for a
  17. ;month, the data is monetary values as ascii strings. I am trying to
  18. ;convert the ascii ti numbers total the result then place in another
  19. ;file. I am using micrsoft quick C and the ascii to number functions in
  20. ;it. Apparenntly these functions only work correctly up to four digits.
  21. ;After that teh ouput goes wild.
  22. ; Can anyone help me understand what is not corrrect? Is there any
  23. ;routines out there that can do this or am i looking at hardare/softare
  24. ;limitation?
  25. ;               Any suggestions input or help would subject the giver
  26. ; to a profusion of thanks and positive thoughts.
  27. ;
  28. ;                                          thanks
  29. ;                                       Paul.
  30.  
  31. You are going to need to post some code. We can only guess at what you might 
  32. be doing wrong.
  33.  
  34. Bill
  35.  
  36. "Whatcha got on?...Your mind?"
  37.